#ifndef __FLASH_HAL_H__
#define __FLASH_HAL_H__
#include "lks32mc08x_sys.h"
#include "./dbg/dbg.h"

/**
 * @brief 读取flash内容
 * 
 * @param buf 
 * @param len 
 */
void flash_hal_read_all(uint8_t *buf,uint32_t len);
/**
 * @brief 整页写入flash
 * 
 */
void flash_hal_write_allpage(uint8_t *buf,uint16_t size);
#endif 

